package com.itmg.analyze.thread;

import com.itmg.factory.AnalyzeFactory;
import com.itmg.vo.SearchResultVO;
import com.itmg.vo.TargetDataVO;

public class YahooSearchThread implements Runnable {

	private TargetDataVO yahoodata;
	private SearchResultVO yahooVO;
	
	public SearchResultVO getKakakuVO(){
		return yahooVO;
	}
	
	public YahooSearchThread(TargetDataVO yahoodata){
		this.yahoodata = yahoodata;
	}

	public void run() {
		try {
			yahooVO = AnalyzeFactory.getYahooDataAnlyze().getSearchResultItemVO(yahoodata);
		} catch (Exception e) {
			e.printStackTrace();
		}
	}

}
